package com.blrs.domain;

import java.util.Date;
import java.util.List;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 产品发布对象 product_release
 * 
 * @author ruoyi
 * @date 2024-01-10
 */
public class ProductRelease extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品信息id */
    private String productId;

    /** 创建人id */
    private Long createId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creationName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品内容 */
    private String content;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveTime;

    /** 附件 */
    @Excel(name = "附件")
    private String uploadFile;

    /** 接收方id */
    private String receiverId;

    /** 接收方姓名 */
    private String receiverName;

    /** 操作时间 */
    private Date operateTime;

    /** 状态 */
    private String status;

    /** 操作人id */
    private Long operateId;

    /** 操作人姓名 */
    private String operateName;

    /** 部门id */
    private Long departmentId;

    /** 部门名称 */
    private String departmentName;

    /** 组织机构id */
    private Long organizationId;

    /** 组织机构名称 */
    private String organizationName;

    /** 归属于 */
    private Long belongTo;

    /** 主分类 */
    private String classificationId;

    /** 审核人id */
    private Long examineId;

    /** 审核人姓名 */
    private String examineName;

    /** 节点路径 */
    private String idPath;

    /** 发布类型 */
    private String sendType;

    /** 发送单位 */
    private String sendUnit;

    private String url;

    private List<String> enterpriseId;

    /**
     * 终止原因
     * @return
     */
    private String endReason;

    /**
     * 审核状态
     * @return
     */
    private String examineStatus;

    /**
     * 配图
     * @return
     */
    private String productPicture;
    /**
     * 区域
     * @return
     */
    private String region;

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getProductPicture() {
        return productPicture;
    }

    public void setProductPicture(String productPicture) {
        this.productPicture = productPicture;
    }

    public String getEndReason() {
        return endReason;
    }

    public void setEndReason(String endReason) {
        this.endReason = endReason;
    }

    public String getExamineStatus() {
        return examineStatus;
    }

    public void setExamineStatus(String examineStatus) {
        this.examineStatus = examineStatus;
    }

    public List<String> getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(List<String> enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreationName(String creationName) 
    {
        this.creationName = creationName;
    }

    public String getCreationName() 
    {
        return creationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setEffectiveTime(Date effectiveTime) 
    {
        this.effectiveTime = effectiveTime;
    }

    public Date getEffectiveTime() 
    {
        return effectiveTime;
    }
    public void setUploadFile(String uploadFile) 
    {
        this.uploadFile = uploadFile;
    }

    public String getUploadFile() 
    {
        return uploadFile;
    }
    public void setReceiverId(String receiverId) 
    {
        this.receiverId = receiverId;
    }

    public String getReceiverId() 
    {
        return receiverId;
    }
    public void setReceiverName(String receiverName) 
    {
        this.receiverName = receiverName;
    }

    public String getReceiverName() 
    {
        return receiverName;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOperateId(Long operateId) 
    {
        this.operateId = operateId;
    }

    public Long getOperateId() 
    {
        return operateId;
    }
    public void setOperateName(String operateName) 
    {
        this.operateName = operateName;
    }

    public String getOperateName() 
    {
        return operateName;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setBelongTo(Long belongTo) 
    {
        this.belongTo = belongTo;
    }

    public Long getBelongTo() 
    {
        return belongTo;
    }
    public void setClassificationId(String classificationId) 
    {
        this.classificationId = classificationId;
    }

    public String getClassificationId() 
    {
        return classificationId;
    }
    public void setExamineId(Long examineId) 
    {
        this.examineId = examineId;
    }

    public Long getExamineId() 
    {
        return examineId;
    }
    public void setExamineName(String examineName) 
    {
        this.examineName = examineName;
    }

    public String getExamineName() 
    {
        return examineName;
    }
    public void setIdPath(String idPath) 
    {
        this.idPath = idPath;
    }

    public String getIdPath() 
    {
        return idPath;
    }
    public void setSendType(String sendType) 
    {
        this.sendType = sendType;
    }

    public String getSendType() 
    {
        return sendType;
    }
    public void setSendUnit(String sendUnit) 
    {
        this.sendUnit = sendUnit;
    }

    public String getSendUnit() 
    {
        return sendUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("createId", getCreateId())
            .append("creationName", getCreationName())
            .append("creationTime", getCreationTime())
            .append("productName", getProductName())
            .append("content", getContent())
            .append("effectiveTime", getEffectiveTime())
            .append("uploadFile", getUploadFile())
            .append("receiverId", getReceiverId())
            .append("receiverName", getReceiverName())
            .append("operateTime", getOperateTime())
            .append("status", getStatus())
            .append("operateId", getOperateId())
            .append("operateName", getOperateName())
            .append("departmentId", getDepartmentId())
            .append("departmentName", getDepartmentName())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("belongTo", getBelongTo())
            .append("classificationId", getClassificationId())
            .append("examineId", getExamineId())
            .append("examineName", getExamineName())
            .append("idPath", getIdPath())
            .append("sendType", getSendType())
            .append("sendUnit", getSendUnit())
            .toString();
    }
}
